﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace ZGEDrySaltery.Web.cart
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int CARTID=(Convert.ToInt32(strid));
					ShowInfo(CARTID);
				}
			}
		}
		
	private void ShowInfo(int CARTID)
	{
		ZGEDrySaltery.BLL.cart bll=new ZGEDrySaltery.BLL.cart();
		ZGEDrySaltery.Model.cart model=bll.GetModel(CARTID);
		this.lblCARTID.Text=model.CARTID.ToString();
		this.lblUSERID.Text=model.USERID.ToString();
		this.lblOFFERID.Text=model.OFFERID.ToString();
		this.lblCOUNT.Text=model.COUNT.ToString();
		this.lblCOMPANYID.Text=model.COMPANYID.ToString();
		this.lblINSERTTIME.Text=model.INSERTTIME.ToString();
		this.lblMODIFYTIME.Text=model.MODIFYTIME.ToString();

	}


    }
}
